package com.ruoyi.system.service;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.mapper.BwTabTestMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BwTabTestService {

    @Autowired
    private BwTabTestMapper bwTabTestMapper;


    @DataSource(value = DataSourceType.SLAVE)
    public List<JSONObject> getAll(){
        return bwTabTestMapper.getAll();
    }

}
